Installation instructions to recover the CREATES curriculum server installation
===============================================================================

Configuration and status as per June 2012

The portal page is set up and has been tested and deployed on the following 
WAMP and LAMP server configurations:

Live server http://www.vacreates.org (LAMP configuration):
linux x86_64
Apache 2.2.22
MySQL 5.1.63
PHP 5.3.13

Development and test server (WAMP configuration):
Windows Server 2008
Apache 2.2.20
MySQL 5.0.8
PHP 5.3.8




PREPERATION:
------------

The following services/installations are required:
1) A running and configured HTTP server (such as Apache 2.2)
2) A MySQL database server (Version min 5.0)
3) A correctly configured PHP installation (min 5.3) 
   - xsl library module needs to be installed and loaded




INSTALLATION:
-------------

1) Database: Create a new database through the SQL tool of your choice
   (such as phpMyAdmin) and then import the sql dump file "CREATES.sql". 
   Make sure to have user with rights to access this db if you do not want to use the root user.

2) Expand the compressed file "CREATES.zip" into the server directory of your choice.
   If you have setup a domain for this installation, this will be the root directory
   of that domain.

3) Expand the compressed file "CREATESdata.zip" into any other server directory.
   This directory can actually be outside the server directory and will thus be save
   from any external access. The files could also be expanded into a subdirectory within
   your domain - however, data files may be directly accessable through the HTTP server.
   (the current CREATES deployment uses the directory CREATESdata, outside of the domain root) 




CONFIGURATION:
--------------

The following files need to be modified to reflect the local settings of the new installation:


1) /ilias.ini.php (in domain root directory):

[server]
http_path = "http://www.vacreates.org" -> set to correct URL 
absolute_path = "/home/user/public_html/vacreates.org" -> set to correct installation directory

[clients]
datadir = "/home/user/CREATESdata" -> set to data directory, where you expanded the data files

[log]
path = "/home/user/public_html/vacreates.org" -> set to correct local path

[debian]
log = "/home/user/public_html/vacreates.org/ilias.log" -> set to correct local path



2) /data/CREATES/clients.ini.php:

[db]
type = "mysql"
host = "localhost" -> change to servername if MySQL database is not on same machine
user = "username" -> change to user that has access to the database
pass = "password" -> change to correct pw
name = "CREATES" -> change to database name created during installation
